package ooday01;
/** Car的测试类 */
public class CarTest {
    public static void main(String[] args) {
        Car dz = new Car();
        dz.brand = "大众";
        dz.color = "黑";
        dz.price = 100000;
        dz.star();
        dz.run();
        dz.stop();

        Car tsl = new Car("特斯拉","白",300000);
        tsl.star();
        tsl.run();
        tsl.stop();
    }
}
